package com.wynne.ptldemo.pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;


@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "PTL_BOM")
@EqualsAndHashCode(callSuper = true)
public class PtlBom extends BaseBean implements Serializable {
    private static final long serialVersionUID = -4459081803170156825L;

    private String partNo;

    private String partName;

    private String unit;

    private Integer qty;

    private String itemPartNo;

    private String itemPartName;

    private String itemUnit;

    private Integer itemQty;

    private String bomNumber;

    private String bomVersion;

    private String effStartTime;

    private String effEndTime;
}
